package com.sun.model;

import java.io.Serializable;

public class LayuiTree implements Serializable{

	private String title;//节点标题
	private Integer id;//节点唯一索引值，用于对指定节点进行各类操作
	private String field;//节点字段名
	//private List<?> children;//子节点。支持设定选项同父节点  ##子类类型在具体的继承类中定义
	private String href;//点击节点弹出新窗口对应的 url。需开启 isJump 参数
	private Boolean spread;//节点是否初始展开，默认 false
	private Boolean checked;//节点是否初始为选中状态（如果开启复选框的话），默认 false
	private Boolean disabled;//节点是否为禁用状态。默认 false
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	/*public List<?> getChildren() {
		return children;
	}
	public void setChildren(List<?> children) {
		this.children = children;
	}*/
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public Boolean getSpread() {
		return spread;
	}
	public void setSpread(Boolean spread) {
		this.spread = spread;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	public Boolean getDisabled() {
		return disabled;
	}
	public void setDisabled(Boolean disabled) {
		this.disabled = disabled;
	}
	
	
}
